Conversation
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Port diagnosttic::unimplemented
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (e5e5a65): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -1.7%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -4.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 470.684s -> 471.14s (0.10%) |
This comment has been minimized.
This comment has been minimized.
314a3ab to
a1841a0
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
a1841a0 to
f85b181
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f85b181 to
3e1d86b
Compare
3e4daeb to
10525e6
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
I think that's everything, @rustbot ready |
|
@mejrs I think the only thing left here now is the templates right? |
77b71c7 to
1556755
Compare
Oops. Pushed now. |
|
@jdonszelmann r=me,you if you also approve the PR |
|
@bors r=jdonszelmann,jonathanbrouwer rollup |
|
@mejrs r=me after rebase |
|
☔ The latest upstream changes (presumably #152904) made this pull request unmergeable. Please resolve the merge conflicts. |
| NoMangle(..) => Yes, // Needed for rustdoc | ||
| NoStd(..) => No, | ||
| NonExhaustive(..) => Yes, // Needed for rustdoc | ||
| OnConst { .. } => Yes, |
There was a problem hiding this comment.
That's just a drive by comment, but I'm not 100% sure if that's really correct. In the past there was a bug were an unstable diagnostic attribute generated a warning in the parent crate, but had also generated the unstable custom error message if triggered by code in a child crate.
For that reason I changed the cross crate encoding for such attributes at some point to be depended on the feature gate for such unstable attributes.
That written: I'm do know nothing about diagnostic::on_const and the design of this PR, so this might not even apply. If that's the case feel free to just dismiss this comment.
View all comments
Ports all the diagnostic attributes: on_const, on_unimplemented and rustc_on_unimplemented.
I thought about migrating them one by one but that would leave a lot of code duplicated. So this PR looks big but it's mostly a lot of moving code around with slight modifications.
r? @JonathanBrouwer
cc @jdonszelmann feel free to review if you want, not sure which of you wants it.